package com.cci.kangdao.dto.response;

import com.cci.kangdao.entity.BaseEntity;

import java.util.List;

/**
 * @author yinguili
 * @version 1.0
 * @description: TODO
 * @date 2022/8/31 10:39
 */
public class ECJVPagedResponse<T> extends BaseEntity {

    private Integer pageNum;
    private Integer pageSize;
    private Integer size;
    private Integer startRow;
    private Integer endRow;
    private Long total;
    private Integer pages;
    private List<T> list;

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public void setStartRow(Integer startRow) {
        this.startRow = startRow;
    }

    public void setEndRow(Integer endRow) {
        this.endRow = endRow;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public Integer getSize() {
        return size;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public Integer getEndRow() {
        return endRow;
    }

    public Long getTotal() {
        return total;
    }

    public Integer getPages() {
        return pages;
    }

    public List<T> getList() {
        return list;
    }
}
